<?php
// include the file containing initialization of the database and session
include_once('config.php');

$is_logged_in = Session::is_logged_in();

if($is_logged_in)
	header("Location: wall.php");

else{
	$index_view = new Template('login_view.php');
	$index_view->render();	
}
?>
